package com.yn.courseselectionsystem.service.impl;

import com.yn.courseselectionsystem.dao.CourseRecordDao;
import com.yn.courseselectionsystem.pojo.CourseRecord;
import com.yn.courseselectionsystem.service.CourseRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Map;

/**
 * @description: TODO
 * @author: Tokyo_God
 * @date: 2021/1/12 15:22
 * Role of:
 * @version: v1.0
 */
@Service
public class CourseRecordServiceImpl implements CourseRecordService {
    @Resource
    CourseRecordDao courseRecordDao;
    //查询所以的选课记录
    @Override
    public Map<Integer, CourseRecord> selCRMapKeyCourseIdAll() {
        return courseRecordDao.selCRMapKeyCourseIdAll();
    }
}
